import MainLayout from '@/layout/MainLayout'
import styles from './index.module.scss'
export default function ErrorPage() {
  return (
    <div className={styles.main}>
      <h1 className={styles.title}>404</h1>
      <p className={styles.t2}>未找到页面</p>
      <p className={styles.t3}>您要查找的页面不存在。</p>
      <a href="/" className={styles.backLink}>
        返回主页
      </a>
    </div>
  )
}

ErrorPage.getLayout = function getLayout(page: React.ReactElement) {
  return <MainLayout>{page}</MainLayout>
}
